import {post} from "./http";

//文章列表
export const dirArticle = (data) =>
    post("/Article/GetAllToMoer", data);
//模糊搜索
export const dirFuzzyQuery = (data) =>
    post("/Article/GetFuzzyQuery?blurCon="+data, data);
//分类文章列表
export const dirArticleBySort = (data) =>
	post("/Article/GetBySortId?SortID="+data, data);
//文章详情
export const getArticleDetail = (data) =>
    post("/Article/GetByIdToPage?id="+data, data);

//文章归档
export const getArticleGroup = (data) =>
    post("/Home/GetStatistics", data);

//文章评论
export const getCommentsList = (data) =>
    post("/api/public/web/comments/list", data);

//添加评论
export const getCommentsCreate = (data) =>
    post("/api/public/web/comments/create", data);

